package com.lbx.dao;

/**
 * @author 吕兵星
 * @date 2020/10/21 14:52
 */
public class Proxy implements Rent {
    private FangDong fangDong;

    public Proxy() {
    }

    public Proxy(FangDong fangDong) {
        this.fangDong = fangDong;
    }

    /**
     * 出租方法
     *
     * @return void
     * @author 吕兵星
     * @date 2020/10/21 13:30
     */
    @Override
    public void rent() {
        fangDong.rent();
    }
}
